package com.ycl.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import java.time.LocalDateTime;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class BlackList {
    private int id;
    private String host;
    private String ban;
    private LocalDateTime time;

    public BlackList(String host, String ban, LocalDateTime time) {
        this.host = host;
        this.ban = ban;
        this.time = time;
    }
}
